package com.gzy.gameserver;

import java.util.logging.Logger;

public class Weapon extends Item
{
	/**The version of the serialized form of this class */
	private static final long serialVersionUID = 1L;
	private static final Logger logger = Logger.getLogger(Pawn.class.getName());

	//properties
	protected int 		  attack_power 	= 0;
	protected int 		  defense_power = 0;
	
	protected Weapon(String name)
	{
		super(name);
	}

	//properties functions
	public int getAttackPower()
	{
		return this.attack_power;
	}
	
	public void setAttackPower(int attack_power)
	{
		this.attack_power = attack_power;
	}
	
	public int getDefensePower()
	{
		return this.defense_power;
	}
	
	public void setDefensePower(int defense_power)
	{
		this.defense_power = defense_power;
	}

	//properties functions end
}
